home *** CD-ROM | disk | FTP | other *** search
Makefile | 1994-08-02 | 3.3 KB | 81 lines |
- #ifndef XCOMM
- #define XCOMM #
- #endif
-
- #ifndef NullParameter
- #define NullParameter
- #endif
-
- XCOMM
- XCOMM Imakefile for display, animate, montage, and import.
- XCOMM
- XCOMM Copyright 1994 E. I. du Pont de Nemours & Company
- XCOMM
- XCOMM Permission to use, copy, modify, distribute, and sell this software and
- XCOMM its documentation for any purpose is hereby granted without fee,
- XCOMM provided that the above Copyright notice appear in all copies and that
- XCOMM both that Copyright notice and this permission notice appear in
- XCOMM supporting documentation, and that the name of E. I. du Pont de Nemours
- XCOMM & Company not be used in advertising or publicity pertaining to
- XCOMM distribution of the software without specific, written prior
- XCOMM permission. E. I. du Pont de Nemours & Company makes no representations
- XCOMM about the suitability of this software for any purpose. It is provided
- XCOMM "as is" without express or implied warranty.
- XCOMM
- XCOMM E. I. du Pont de Nemours & Company disclaims all warranties with regard
- XCOMM to this software, including all implied warranties of merchantability
- XCOMM and fitness, in no event shall E. I. du Pont de Nemours & Company be
- XCOMM liable for any special, indirect or consequential damages or any
- XCOMM damages whatsoever resulting from loss of use, data or profits, whether
- XCOMM in an action of contract, negligence or other tortious action, arising
- XCOMM out of or in connection with the use or performance of this software.
- XCOMM
-
- #include "Magick.tmpl"
-
- #define PassCDebugFlags CCOPTIONS='$(CCOPTIONS)'
-
- #define IHaveSubdirs
-
- SUBDIRS= magick
-
- MakeSubdirs($(SUBDIRS))
- DependSubdirs($(SUBDIRS))
-
- PROGRAMS= display import montage animate convert mogrify combine segment
-
- AllTarget($(PROGRAMS))
-
- NormalProgramTarget(display,display.o,NullParameter,$(LOCAL_LIBRARIES),$(XLIB) -lm)
- InstallProgram(display,$(BINDIR))
- InstallManPage(display,$(MANDIR))
- NormalProgramTarget(montage,montage.o,NullParameter,$(LOCAL_LIBRARIES),$(XLIB) -lm)
- InstallProgram(montage,$(BINDIR))
- InstallManPage(montage,$(MANDIR))
- NormalProgramTarget(import,import.o,NullParameter,$(LOCAL_LIBRARIES),$(XLIB) -lm)
- InstallProgram(import,$(BINDIR))
- InstallManPage(import,$(MANDIR))
- NormalProgramTarget(animate,animate.o,NullParameter,$(LOCAL_LIBRARIES),$(XLIB) -lm)
- InstallProgram(animate,$(BINDIR))
- InstallManPage(animate,$(MANDIR))
- NormalProgramTarget(convert,convert.o,NullParameter,$(LOCAL_LIBRARIES),$(XLIB) -lm)
- InstallProgram(convert,$(LOCALDIR))
- InstallManPage(convert,$(MANDIR))
- NormalProgramTarget(mogrify,mogrify.o,NullParameter,$(LOCAL_LIBRARIES),$(XLIB) -lm)
- InstallProgram(mogrify,$(LOCALDIR))
- InstallManPage(mogrify,$(MANDIR))
- NormalProgramTarget(combine,combine.o,NullParameter,$(LOCAL_LIBRARIES),$(XLIB) -lm)
- InstallProgram(combine,$(LOCALDIR))
- InstallManPage(combine,$(MANDIR))
- NormalProgramTarget(segment,segment.o,NullParameter,$(LOCAL_LIBRARIES),$(XLIB) -lm)
- InstallProgram(segment,$(LOCALDIR))
- InstallManPage(segment,$(MANDIR))
-
- #define InstallMyManPage(file,destdir,suffix) @@\
- install.man:: file.man @@\
- $(INSTALL) -c $(INSTMANFLAGS) file.man $(DESTDIR)destdir/file.suffix
-
- InstallMyManPage(ImageMagick,$(MANSOURCEPATH)n,n)
- InstallMyManPage(quantize,$(MANSOURCEPATH)5,5)
- InstallMyManPage(miff,$(MANSOURCEPATH)5,5)
-